<%-- 
    Document   : add
    Created on : Mar 31, 2012, 10:46:17 PM
    Author     : Apol
--%>
<%-- Header Area --%>
<%@ include file="/template/header.jsp" %> 
<%-- End of Header Area --%>

<h2>New Address</h2>

<div class="submenu">
    <ul>
        <li><a href="/account/profile">Personal Information</a></li>
        <li><a href="/account/info">My Addresses</a></li>
        <li><a href="/account/history">Order History</a></li>
    </ul>
    <div class="clear"></div>
</div>

<form method="POST" action=""> 
    <fieldset>
        <legend><strong>Address Information</strong></legend>
        <table>
            <input type="hidden" name="id" value="${id}" />
            <tr>
                <td for="addTitle" align ="right">Address Title*</td> 
                <td><input id="addTitle" type="text" name="addTitle" value="" validate="form" require="<b>Required Field Missing</b><br/>Please enter your preferred Alias." /></td>
            </tr>
            <tr>
                <td for="address" align ="right">Address*</td> 
                <td>
                    <textarea id="address" name="address" validate="form" require="<b>Required Field Missing</b><br/>Please enter the current location."></textarea>
                </td>
            </tr>
            <tr>
                <td for="landmarks" align ="right">Landmarks</td> 
                <td>
                    <textarea id="landmarks" name="landmarks"></textarea>
                </td
            </tr>
            <tr>
                <td colspan="2" align="right">
                    <input type="submit" name="addAddress" value="Save" onclick="return validate('form');"/>
                    <input type="button" value="Reset" onclick="reload()" />
                </td>
            </tr>
        </table>
    </fieldset>
</form>
<%@ include file="/template/footer.jsp" %> 